package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 客户财务账户表
 * </p>
 *
 * @author LX
 * @since 2018-09-06
 */
@TableName("erp_customer_finance_vice")
public class ErpCustomerFinanceVice extends Model<ErpCustomerFinanceVice> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 账户类型
     */
    @TableField("finv_type")
    private String finvType;
    /**
     * 帐号
     */
    @TableField("finv_number")
    private String finvNumber;
    /**
     * 开户行
     */
    @TableField("finv_bank")
    private String finvBank;
    /**
     * 录入人
     */
    @TableField("finv_user")
    private String finvUser;
    /**
     * 录入时间
     */
    @TableField("finv_date")
    private String finvDate;
    
    private String attribute;

    @TableField("finance_id")
    private Integer financeId;

    public Integer getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Integer financeId) {
		this.financeId = financeId;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getFinvType() {
        return finvType;
    }

    public void setFinvType(String finvType) {
        this.finvType = finvType;
    }

    public String getFinvNumber() {
        return finvNumber;
    }

    public void setFinvNumber(String finvNumber) {
        this.finvNumber = finvNumber;
    }

    public String getFinvBank() {
        return finvBank;
    }

    public void setFinvBank(String finvBank) {
        this.finvBank = finvBank;
    }

    public String getFinvUser() {
        return finvUser;
    }

    public void setFinvUser(String finvUser) {
        this.finvUser = finvUser;
    }

    public String getFinvDate() {
        return finvDate;
    }

    public void setFinvDate(String finvDate) {
        this.finvDate = finvDate;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomerFinanceVice{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", finvType=" + finvType +
        ", finvNumber=" + finvNumber +
        ", finvBank=" + finvBank +
        ", finvUser=" + finvUser +
        ", finvDate=" + finvDate +
        ", attribute=" + attribute +
        "}";
    }
}
